package com.jy.modules.cims.data.interact.tbj.loan.response;

/**
 * 
 * @author shengzhoutao
 *
 */
public enum ResponseDataEnum {
	/** 成功 */
	SUCCESS {
		public int getCode() {
			return 1;
		}
		public String getMessage() {
			return "成功";
		}
	},
	
	/** 失败 */
	FAILURE {
		public String getMessage() {
			return "失败";
		}
		public int getCode() {
			return 2;
		}
	},
	
	/** 已经入库 */
	EXISTS {
		public String getMessage() {
			return "已经入库";
		}
		public int getCode() {
			return 3;
		}
	};
	
	public abstract int getCode();
	public abstract String getMessage();
}
